package condition;

import app.entity.AdminEntity;
import condionals.ConditionClasss;
import jdk.nashorn.internal.objects.annotations.Property;
import org.springframework.context.annotation.*;

@Configuration

@ComponentScan
@Profile("test")
public class Config {

    @Bean
    @ConditionClasss(className = "app.entity.AdminEntity")
    public AdminEntity adminEntity(){
        return new AdminEntity();
    }
}
